// Filename:    list.h
// Author:      John Van Drasek
// Date:        15 October 2006
// Description:


#pragma once


// Includes
// User defined includes
#include "nhodGlobals.h"
#include "rup.h"


// Structs
struct pktList
{
	struct pktNode* _head;
	char _name[NAMESIZE];
	int _size;
};

struct pktNode
{
	int _data;
	struct pktNode* _next;
};


// Function declarations
void PrintPktList(struct pktList*);
void PrintUsersOnline(struct pktList* pList);
struct pkt* GetPktListItemByAddress(struct pktList*, char*);
int SetPktListBack(struct pktList*, struct pkt*);
int RemovePktByAddress(struct pktList*, char*);
struct pkt* copyPkt(struct pkt*);
